#!/bin/bash

# $1 fullpath_file $2 dir with init_body, next_step_1
fullpath_file="$1"
parent_dir="$2"

dir_file_sh="$(dirname "${fullpath_file}")"
name_file_sh="$(basename "${fullpath_file}")"

"${_ehh}" ${_cr_f_} ${name_file_sh} --tml ${PATH_FS_STANDARTS_AX_DIR}/init_body.sh

for item in $(ls "${parent_dir}");do
"${_ehh}" ${_cr_f_dir_insert_} --name ${name_file_sh} --dir_insert ${parent_dir}/${item}
done

"${_ehh}" ${_cr_f_} ${fullpath_file} --vi0 ${name_fn_} --vr0 {name_fn_}
"${_ehh}" ${_cr_f_} ${fullpath_file} --vi0 ${mdeb_cntl_dir} --vr0 {mdeb_cntl_dir}
"${_ehh}" ${_obs_quis_} ${fullpath_file}